package com.lanyanhua.job.service;

import com.lanyanhua.job.entity.JobInfo;
import com.lanyanhua.job.entity.Page;
import com.lanyanhua.job.service.base.IMyService;

import java.util.List;

/**
 * @Auther: lanyanhua
 * @Date: 2018/10/18 0018 11:41
 * @Description:
 */
public interface IJobInfoService extends IMyService<JobInfo,Integer> {

    Page findJobPage(JobInfo jobInfo,Integer page,Integer limit);

    boolean existsByJobNameAndJobGroup(String jobName, String jobGroup);

    List<JobInfo> findByJobStatus(int i);

}
